﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace KPIS.GERP.GFMS.MODEL
{
    [Serializable]
    public class M_FIM_ReceiveDtls
    {
        private Nullable<int> RECEIVE_DTLS_SEQ;
        private Nullable<int> RECEIVE_SEQ;
        private string RECEIVE_DTLS_NAME;
        private Nullable<double> AMOUNT;
        private Nullable<int> CURRENCY_SEQ;
        private Nullable<double> EXCHANGE_RATE;
        private Nullable<double> BATH_AMOUNT;
        private int? RECEIVE_TYPE_SEQ;

        private string CURRENCY_NAME;

        private string RECORD_STATUS;
        private string RECORD_STATUS_NAME;
        private Nullable<int> CREATED_BY;
        private Nullable<DateTime> CREATED_WHEN;
        private Nullable<int> UPDATED_BY;
        private Nullable<DateTime> UPDATED_WHEN;

        public M_FIM_ReceiveDtls()
        {

        }

        public M_FIM_ReceiveDtls(
            Nullable<int> RECEIVE_DTLS_SEQ
            , Nullable<int> RECEIVE_SEQ
            , int? RECEIVE_TYPE_SEQ
            , string RECEIVE_DTLS_NAME
            , Nullable<double> AMOUNT
            , Nullable<int> CURRENCY_SEQ
            , Nullable<double> EXCHANGE_RATE
            , Nullable<double> BATH_AMOUNT

            , string CURRENCY_NAME

            , string RECORD_STATUS
            , string RECORD_STATUS_NAME
            , Nullable<int> CREATED_BY
            , Nullable<DateTime> CREATED_WHEN
            , Nullable<int> UPDATED_BY
            , Nullable<DateTime> UPDATED_WHEN)
        {
            this.RECEIVE_DTLS_SEQ = RECEIVE_DTLS_SEQ;
            this.RECEIVE_SEQ = RECEIVE_SEQ;
            this.RECEIVE_DTLS_NAME = RECEIVE_DTLS_NAME;
            this.AMOUNT = AMOUNT;
            this.CURRENCY_SEQ = CURRENCY_SEQ;
            this.EXCHANGE_RATE = EXCHANGE_RATE;
            this.BATH_AMOUNT = BATH_AMOUNT;
            this.CURRENCY_NAME = CURRENCY_NAME;
            this.RECEIVE_TYPE_SEQ = RECEIVE_TYPE_SEQ;

            this.RECORD_STATUS = RECORD_STATUS;
            this.RECORD_STATUS_NAME = RECORD_STATUS_NAME;
            this.CREATED_BY = CREATED_BY;
            this.CREATED_WHEN = CREATED_WHEN;
            this.UPDATED_BY = UPDATED_BY;
            this.UPDATED_WHEN = UPDATED_WHEN;
        }

        public Nullable<int> receive_dtls_seq
        {
            set { RECEIVE_DTLS_SEQ = value; }
            get { return RECEIVE_DTLS_SEQ; }
        }
        public Nullable<int> receive_seq
        {
            set { RECEIVE_SEQ = value; }
            get { return RECEIVE_SEQ; }
        }
        public Nullable<int> receive_type_seq
        {
            set { RECEIVE_TYPE_SEQ = value; }
            get { return RECEIVE_TYPE_SEQ; }
        }

        public string receive_dtls_name
        {
            set { RECEIVE_DTLS_NAME = value; }
            get { return RECEIVE_DTLS_NAME; }
        }

        public Nullable<double> amount
        {
            set { AMOUNT = value; }
            get { return AMOUNT; }
        }

        public Nullable<int> currency_seq
        {
            set { CURRENCY_SEQ = value; }
            get { return CURRENCY_SEQ; }
        }

        public Nullable<double> exchange_rate
        {
            set { EXCHANGE_RATE = value; }
            get { return EXCHANGE_RATE; }
        }

        public Nullable<double> bath_amount
        {
            set { BATH_AMOUNT = value; }
            get { return BATH_AMOUNT; }
        }

        public string currency_name
        {
            set { CURRENCY_NAME = value; }
            get { return CURRENCY_NAME; }
        }

        public string record_status
        {
            set { RECORD_STATUS = value; }
            get { return RECORD_STATUS; }
        }

        public string record_status_name
        {
            set { RECORD_STATUS_NAME = value; }
            get { return RECORD_STATUS_NAME; }
        }

        public Nullable<int> created_by
        {
            set { CREATED_BY = value; }
            get { return CREATED_BY; }
        }

        public Nullable<DateTime> created_when
        {
            set { CREATED_WHEN = value; }
            get { return CREATED_WHEN; }
        }

        public Nullable<int> updated_by
        {
            set { UPDATED_BY = value; }
            get { return UPDATED_BY; }
        }

        public Nullable<DateTime> updated_when
        {
            set { UPDATED_WHEN = value; }
            get { return UPDATED_WHEN; }
        }
    }
}
